//
//  ShopListTableViewCell.m
//  QYer
//
//  Created by lanou on 16/8/11.
//  Copyright © 2016年 CaiZhuYu. All rights reserved.
//

#import "ShopListTableViewCell.h"

@implementation ShopListTableViewCell


- (void)setContentWithModel:(ShopListModel *)model {
    [self.picView sd_setImageWithURL:[NSURL URLWithString:model.photo] placeholderImage:[UIImage imageNamed:@"占位图"]];
    self.promotxtLabel.text = model.promotxt;
    if (model.promotxt.length == 0) {
        self.promotxtLabel.hidden = YES;
    }
    self.titleLabel.text = model.title;
    self.markLabel.text = model.mark;
    self.soldLabel.text = model.sold;
    self.priceLabel.text = [NSString stringWithFormat:@"%@元起", model.price];
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
